package top.bluesword.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
 * @author 李林峰
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
public class DataModel extends BaseDataModel {

    private String name;

    public DataModel(String name) {
        this.name = name;
    }

    public static DataModel of(String name){
        return new DataModel(name);
    }

}
